<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script lang="ts">
import { defineComponent } from 'vue';
import { useRouter } from 'vue-router';

export default defineComponent({
  setup() {
    const router = useRouter();
    return { router };
  }
});
</script>

<style scoped>
/* 保持样式为空，因为我们只保留 <router-view> */
</style>